From: Florian Müllner Date: Tue, 28 Jun 2022 16:59:05 +0000 (+0200) Subject: build: Use multi-line string for embedded code X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~461^2^2~259 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=0f61af6b8585bdc412414a291e2efde8a9b312c2;p=gnome-shell.git build: Use multi-line string for embedded code Newer meson versions complain about newline characters in regular strings, so switch to a proper multi-line string. Part-of: --- diff --git a/meson.build b/meson.build index 354fbd6d8..bc0f62176 100644 --- a/meson.build +++ b/meson.build @@ -157,9 +157,11 @@ cdata.set('HAVE_FDWALK', ) polkit_has_autocleanup = cc.compiles( - '#define POLKIT_AGENT_I_KNOW_API_IS_SUBJECT_TO_CHANGE +''' + #define POLKIT_AGENT_I_KNOW_API_IS_SUBJECT_TO_CHANGE #include - void main(void) { g_autoptr(PolkitAgentListener) agent = NULL; }', + void main(void) { g_autoptr(PolkitAgentListener) agent = NULL; } +''', dependencies: polkit_dep) cdata.set('HAVE_POLKIT_AUTOCLEANUP', polkit_has_autocleanup)